import { RefactoringType } from "./RefactoringType";
export default interface TwoFileRefactoringDetector {
  methodRefactorings: NodePairWithRefactorings[];
  typeDeclarationRefactorings: NodePairWithRefactorings[];
  variableRefactorings: NodePairWithRefactorings[];
  constructorRefactorings: NodePairWithRefactorings[];
}

export interface NodePairWithRefactorings {
  nodes1: RangeAndDisplayName[];
  nodes2: RangeAndDisplayName[];
  refactoringTypes: RefactoringType[];
}

export interface RangeAndDisplayName {
  displayName: string;
  range: Range;
}
